- 
		Home
	
 
	- 
WooCommerce Square
 
- 
4.1.0
 
- 
Code
 
- 
Classes
 
-  Lifecycle 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											42 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											536 | 
										
																			
											| Lines of code | 
											180 | 
										
																			
											| Logical lines of code | 
											85 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											228 | 
										
																			
											| Methods | 
											21 | 
										
																			
											| Properties | 
											3 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 21
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| init() | 
									S  | 
																	56 | 
													4 | 
													20 | 
							
					
				| add_admin_notices() | 
									S  | 
																	60 | 
													4 | 
													14 | 
							
					
				| upgrade() | 
									S  | 
																	62 | 
													4 | 
													10 | 
							
					
				| get_event_history() | 
									S  | 
																	61 | 
													3 | 
													13 | 
							
					
				| store_event() | 
									S  | 
																	52 | 
													2 | 
													26 | 
							
					
				| generate_milestone_notice_message() | 
									S  | 
																	55 | 
													2 | 
													20 | 
							
					
				| add_hooks() | 
									S  | 
																	64 | 
													3 | 
													9 | 
							
					
				| install_default_settings() | 
									S  | 
																	68 | 
													3 | 
													7 | 
							
					
				| handle_activation() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| trigger_milestone() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| register_milestone_message() | 
									S  | 
																	63 | 
													2 | 
													10 | 
							
					
				| get_milestone_version() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| __construct() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| handle_deactivation() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| add_upgrade_event() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| get_event_history_option_name() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_milestone_messages() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| set_milestone_version() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| get_installed_version() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| set_installed_version() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_plugin() | 
									S  | 
																	82 | 
													1 | 
													3 |